<?php
/**
 * @version     kingadmin-v1.2-tx
 * @package     tpl_gpcb
 * @copyright   Copyright (C) 2014. All Rights Reserved
 * @license     Creative Commons Attribution-NoDerivatives 4.0 International License
 * @author      caballeroantonio <caballeroantonio@hotmail.com> - http://caballeroantonio.com
 */

// No direct access
defined('_JEXEC') or die;

$kbpath = 'templates/gpcb';
$this->document->page_class = 'text-editor';
?>

							<div class="main-header">
								<h2>Text Editor</h2>
								<em>WYSIWYG and Markdown editor</em>
							</div>

							<div class="main-content">
								<!-- WYSIWYG EDITOR -->
								<div class="widget">
									<div class="widget-header"><h3><i class="fa fa-edit"></i> WYSIWYG Text Editor</h3></div>
									<div class="widget-content no-padding">
										<div class="summernote">Hello there,<br/>
											<p>The toolbar can be customized and it also supports various callbacks such as <code>oninit</code>, <code>onfocus</code>, <code>onpaste</code> and many more.</p>
											<p>Please try <b>paste some texts</b> here</p>
										</div>
									</div>
									<div class="widget-footer"><button type="button" class="btn btn-primary"><i class="fa fa-floppy-o"></i> Save</button></div>
								</div>
								<!-- END WYSIWYG EDITOR -->

								<!-- MARKDOWN EDITOR -->
								<div class="widget">
									<div class="widget-header"><h3><i class="fa fa-edit"></i> Markdown Text Editor</h3></div>
									<div class="widget-content no-padding">
										<textarea id="markdown-editor" name="markdown-content" data-provide="markdown" data-iconlibrary="fa" rows="10"></textarea>
									</div>
								</div>
								<!-- END MARKDOWN EDITOR -->
							</div><!-- /main-content -->
						

	<!-- Javascript -->
	<script src="<?= $kbpath ?>/assets/js/summernote.min.js"></script>
	<script src="<?= $kbpath ?>/assets/js/markdown/markdown.js"></script>
	<script src="<?= $kbpath ?>/assets/js/markdown/to-markdown.js"></script>
	<script src="<?= $kbpath ?>/assets/js/markdown/bootstrap-markdown.js"></script>
	<script src="<?= $kbpath ?>/assets/js/king-elements.js"></script>

